package com.molichuxing.gateway.bff.orders.entity.response;

import java.time.LocalDate;

import com.molichuxing.framework.dto.ResponseRootDto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单用户使用情况vo
 * 
 * @author zoumingyu
 * @date 2019年9月24日
 *
 */
@Data
public class UserUsedVo extends ResponseRootDto {
	private static final long serialVersionUID = 7538864332059673133L;

	@ApiModelProperty(value = "用车时长")
	private Integer transporTime;

	@ApiModelProperty(value = "订单天数")
	private Integer orderDays;

	@ApiModelProperty(value = "使用天数")
	private Integer usedDays;

	@ApiModelProperty(value = "时长说明")
	private String durationExplain;

	@ApiModelProperty(value = "截止日")
	private LocalDate leaseExpire;

	/**
	 * 购买里程(基础里程+订阅里程+赠送里程+订阅里程（加购）)
	 */
	@ApiModelProperty(value = "购买里程数")
	private Integer payMileage;

	@ApiModelProperty(value = "使用里程数")
	private Integer usedMileage;

	@ApiModelProperty(value = "里程数说明")
	private String mileageExplain;
	
	@ApiModelProperty(value = "是否作废（0：正常，1：作废）")
	private Boolean isInvalid = false;
	
}
